package com.qpf

import org.gradle.api.DefaultTask
import org.gradle.api.tasks.TaskAction

class DemoTask extends DefaultTask {
    DemoTask() {
        group = 'com.qpf'
        description = 'A Demo Task'
    }
    
    /**
     * gradle执行阶段执行的代码
     **/
    @TaskAction
    void doAction () {
        println "Demo Task: ${this.group}"
    }
}
